Ext.define('AmpleHarvest.objects.forms.irtCommon.requestInformation',
{
	extend			: 'Ext.form.FieldSet',
	alias			: 'widget.ampleharvest-objects-forms-irtcommon-requestinformation',
	title			: "Request Information",
	collapsible		: false,
	labelWidth		: 70,
	width			: 1240,
	boxMinWidth		: 1240,
	stateful		: false,
	submitButton	: null,
	cancelButton	: null,
	
	requires		:
	[
			"Ext.form.field.Text", 
			"Ext.form.FieldSet",
			'Ext.layout.container.VBox',
			'Ext.layout.container.HBox',			
			'AmpleHarvest.objects.forms.irtCommon.requestInformation.requestCommon.requestGeneral',
			'AmpleHarvest.objects.forms.irtCommon.requestInformation.requestCommon.requestDetails',
			'AmpleHarvest.objects.forms.irtCommon.requestInformation.requestSpecific.requestAIRS'
	],
	

	initComponent	: function()
	{
		this.requestInformationHbox = Ext.create('Ext.Panel', 
		{ 
			border		: false,
			layout		: 
			{
				type	: 'hbox',
				align	: 'top'
			}
		});	
		
		this.requestInformationVBoxOne = Ext.create('Ext.Panel', 
		{ 
			border		: false,
			flex		: 2,
			layout		: 
			{
				type	: 'vbox',
				align	: 'stretch'
			}
		});
		
	//-------------------- General Request Information --------------------//
		this.generalInformation = Ext.create("AmpleHarvest.objects.forms.irtCommon.requestInformation.requestCommon.requestGeneral",
		{
			border	: false
		});
		
	//-------------------- AIRS Request Information --------------------//
		this.airsInformation = Ext.create("AmpleHarvest.objects.forms.irtCommon.requestInformation.requestSpecific.requestAIRS",
		{
			flex	: 2,
			border	: false
		});
		
	//-------------------- Detailed Request Information --------------------//
		this.detailedInformation = Ext.create("AmpleHarvest.objects.forms.irtCommon.requestInformation.requestCommon.requestDetails",
		{
			flex	: 4,
			border	: false
		});
			

		this.requestInformationVBoxOne.add( this.generalInformation );

		this.requestInformationHbox.add( this.requestInformationVBoxOne );;
		this.requestInformationHbox.add( this.airsInformation );
		this.requestInformationHbox.add( this.detailedInformation );

		this.items =
		[
		 	this.requestInformationHbox,
		 	this.cancelButton,
		 	this.submitButton
		];
		
	    this.callParent();
	}
});